//package com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.supplier;
//
//import org.springframework.stereotype.Service;
//
//import com.iwhalecloud.bss.kite.common.util.KiteMapUtils;
//import com.iwhalecloud.bss.kite.common.util.KiteStringUtils;
//import com.iwhalecloud.bss.kite.cucc.common.constant.LocalKeyConsts;
//import com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.UserAttrSupplier;
//import com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.UserInfoHelper;
//
///**
// * @ClassName : NicheSupplier
// * @Description : 商机 ORD10036
// * @Author : xie.zhengjun
// * @Date : 2021/3/14 16:25
// */
//@Service
//@UserAttrSupplier(attrField = LocalKeyConsts.BUSINESS)
//public class NicheSupplier extends AbstractUserAttrSupplier {
//    @Override
//    public String getValue() {
//        String nicheVal = UserInfoHelper
//            .getValueFromUserItemInfoMap(userInfoContext.getUserItemInfoMap(), LocalKeyConsts.BUSINESS);
//        if (KiteStringUtils.isEmpty(nicheVal)) {
//            nicheVal = UserInfoHelper
//                .getValueFromUserItemInfoMap(userInfoContext.getUserItemInfoMap(), LocalKeyConsts.BUSINESS_NEW);
//        }
//        return nicheVal;
//    }
//
//    @Override
//    public String getValueDesc() {
//        String custId = KiteMapUtils.getString(userInfoContext.getUserInfo(), "CUST_ID");
//        return UserInfoHelper.getNicheName(getValue(), custId);
//    }
//}
